<script setup>
import { ref } from 'vue';
const onClick = () => {
    console.log('111');
}
</script>
<template>
    <div>        
        <button @click="onClick">点击测试</button>
    </div>
</template>